package com.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dao.SysPermission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: madSong
 * @since: 2024/5/11
 * @description:
 */
@Mapper
public interface SysPermissionMapper extends BaseMapper<SysPermission> {

    List<String> getAllPermissions();

    List<String> getPermissonsByUserId(Long sysUserId);
}
